﻿Public Class BECandidato
  Inherits BEUsuario

  Private _id As Integer
  Private _login As String = ""
  Private _curriculo As Curriculo = Nothing
  Private _telefoneResidencial As String = ""
  Private _email As String = ""
  Private _ramal As String = ""
  Private _ddd As String = ""
  Private _endereco As String = ""
  Private _cep As String = ""
  Private _cidade As String = ""
  Private _estado As String = ""
  Private _nome As String = ""
  Private _pais As String = ""
  Private _historico As List(Of HistoricoCandidato) = Nothing
  Private _cpf As String = ""
  Private _nacionalidade As String = ""
  Private _dataNascimento As Date = Nothing
  Private _estadoCivil As String = ""
  Private _rg As String = ""
  Private _sexo As String = ""
  Private _possuiFilhos As String = ""
  Private _portadorDeficiencia As String = ""
  Private _telefoneCelular As String = ""
  Private _vagasAssociadas As List(Of BEVaga) = Nothing

  Sub New()
  End Sub

  Sub New(ByVal intId As Integer)
    Me.New()
    _id = intId
  End Sub

  Public Property VagasAssociadas() As List(Of BEVaga)
    Get
      Return _vagasAssociadas
    End Get
    Set(ByVal value As List(Of BEVaga))
      _vagasAssociadas = value
    End Set
  End Property

  Public Property Historico() As List(Of HistoricoCandidato)
    Get
      Return _historico
    End Get
    Set(ByVal value As List(Of HistoricoCandidato))
      _historico = value
    End Set
  End Property

  Public Property Rg() As String
    Get
      Return _rg
    End Get
    Set(ByVal value As String)
      _rg = value
    End Set
  End Property

  Public Property Curriculo() As Curriculo
    Get
      Return _curriculo
    End Get
    Set(ByVal value As Curriculo)
      _curriculo = value
    End Set
  End Property

  Public Property DataNascimento() As Date
    Get
      Return _dataNascimento
    End Get
    Set(ByVal value As Date)
      _dataNascimento = value
    End Set
  End Property

  Public Property Ddd() As String
    Get
      Return _ddd
    End Get
    Set(ByVal value As String)
      _ddd = value
    End Set
  End Property

  Public Property Endereco() As String
    Get
      Return _endereco
    End Get
    Set(ByVal value As String)
      Logradouro = value
      _endereco = value
    End Set
  End Property

  Public Property Estado() As String
    Get
      Return _estado
    End Get
    Set(ByVal value As String)
      _estado = value
    End Set
  End Property

  Public Property EstadoCivil() As String
    Get
      Return _estadoCivil
    End Get
    Set(ByVal value As String)
      _estadoCivil = value
    End Set
  End Property

  Public Property Id() As Integer
    Get
      Return _id
    End Get
    Set(ByVal value As Integer)
      _id = value
    End Set
  End Property

  Public Property Login() As String
    Get
      Return Usuario
    End Get
    Set(ByVal value As String)
      Usuario = value
      _login = value
    End Set
  End Property

  Public Property Nacionalidade() As String
    Get
      Return _nacionalidade
    End Get
    Set(ByVal value As String)
      _nacionalidade = value
    End Set
  End Property

  Public Property PortadorDeficiencia() As String
    Get
      Return _portadorDeficiencia
    End Get
    Set(ByVal value As String)
      _portadorDeficiencia = value
    End Set
  End Property

  Public Property PossuiFilhos() As String
    Get
      Return _possuiFilhos
    End Get
    Set(ByVal value As String)
      _possuiFilhos = value
    End Set
  End Property

  Public Property Ramal() As String
    Get
      Return _ramal
    End Get
    Set(ByVal value As String)
      _ramal = value
    End Set
  End Property

  Public Property Sexo() As String
    Get
      Return _sexo
    End Get
    Set(ByVal value As String)
      _sexo = value
    End Set
  End Property

  Public Property TelefoneCelular() As String
    Get
      Return _telefoneCelular
    End Get
    Set(ByVal value As String)
      _telefoneCelular = value
    End Set
  End Property

  Public Property TelefoneResidencial() As String
    Get
      Return _telefoneResidencial
    End Get
    Set(ByVal value As String)
      _telefoneResidencial = value
    End Set
  End Property

End Class
